import request from '../utils/request'

// 获取支付信息
export const reqPayment = (orderId) =>
  request({
    method: 'get',
    url: `/payment/weixin/createNative/${orderId}`,
  })

// 查询支付 状态
export const reqPayStatus = (orderId) =>
  request({
    method: 'get',
    url: `/payment/weixin/queryPayStatus/${orderId}`,
  })
